import axios from "../../utils/axios";

// 列表
export function getList(query) {
    return axios({
        url: "/admin/system/version/index",
        method: "get",
        params: query
    });
}

// 添加
export function add(query) {
    return axios({
        url: "/admin/system/version/save",
        method: "post",
        data: query
    });
}

// 删除
export function del(query) {
    return axios({
        url: "/admin/system/version/delete",
        method: "get",
        // data: query
        params: query
    });
}
